
package datolib;

public class XmlMessageBuilder {
	
	public static String afl(String msg) {
		return "<afl>" + msg + "</afl>";
	}	
	
	public static String asl(int size, String cimlFile) {
		return "<asl uip-size=\"" + String.valueOf(size) + "\" ciml=\"" + cimlFile + "\"/>";
	}
	
	public static String ifl() {
		return "<ifl />";
	}
	
	public static String iss() {
		return "<iss />";
	}
	
	public static String scp(String control, String property, String value) {
		return "<scp control=\"" + control + "\" property=\"" + property + "\" value=\"" + value + "\" />";
	}
	
	public static String msg(String message) {
		return "<msg type=\"info\">" + message + "</msg>";
	}
}
